I was wondering why the v2 endpoint for getting schedules seems to be extremely slow?
>>> start = arrow.now(); requests.get('https://api.pagerduty.com/schedules', headers=headers, params={'limit': 100}); print(arrow.now() - start)
0:00:09.016345
I recently changed from using API v1 keys, and this endpoint used to be quite fast (fast enough to query for every team we had). Now, after switching to API v2 keys, it takes almost 30 seconds for us to fetch ~250 schedules.
Is this a known issue? Should I expect this endpoint to be faster in the future, or should I use this endpoint knowing that it’s expected to be this slow for the foreseeable future?